{% extends 'news/base.html' %}
{% block title %}首页-新经资讯{% endblock title %}
{% block script %}
    <script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock script %}

{% block menu %}
    <ul class="menu fl">
        {# 遍历显示所有`新闻分类`信息 #}
        {% for category in categories %}
            <li class="{% if category.id == 1 %}active{% endif %}" data-cid="{{ category.id }}"><a
                    href="javascript:;">{{ category.name }}</a></li>
        {% endfor %}
    </ul>
{% endblock menu %}

{% block content %}
    <ul class="list_con fl">
    </ul>
{% endblock content %}